﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net;
using System.Net.Sockets;

namespace QuoteService
{
    class Program
    {
        static QuoteServer server;

        static void Main(string[] args)
        {
            ThreadPool.QueueUserWorkItem(RunServer);
            Thread.CurrentThread.Join();
        }

        static void RunServer(object state)
        {
            server = new QuoteServer(IPAddress.Any, 55555);
            server.Listen();
        }
    }
}
